package com.canaan.business.domain.storehouse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 库存配置策略对象 wms_tactic_config
 *
 * @author ruoyi
 * @date 2023-02-24
 */
@ApiModel(description = "wms_tactic_config")
@TableName("wms_tactic_config")
public class TacticConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** no */
    @Excel(name = "no")
    @ApiModelProperty("no")
    private String no;

    /** 配置名称 */
    @Excel(name = "配置名称")
    @ApiModelProperty("配置名称")
    private String tacticName;

    /** 配置key */
    @Excel(name = "配置key")
    @ApiModelProperty("配置key")
    private String tacticKey;

    /** 配置设置值 */
    @Excel(name = "配置设置值")
    @ApiModelProperty("配置设置值")
    private String tacticValue;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("配置设置值")
    private String delFlag;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private Integer sort;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setTacticName(String tacticName)
    {
        this.tacticName = tacticName;
    }

    public String getTacticName()
    {
        return tacticName;
    }
    public void setTacticKey(String tacticKey)
    {
        this.tacticKey = tacticKey;
    }

    public String getTacticKey()
    {
        return tacticKey;
    }
    public void setTacticValue(String tacticValue)
    {
        this.tacticValue = tacticValue;
    }

    public String getTacticValue()
    {
        return tacticValue;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("tacticName", getTacticName())
            .append("tacticKey", getTacticKey())
            .append("tacticValue", getTacticValue())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .toString();
    }
}
